package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.AlsPasspointRecordDao;
import com.infoauto.opc.gateway.model.AlsPasspointRecord;
import com.infoauto.opc.gateway.service.AlsPasspointRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlsPasspointRecordServiceImpl implements AlsPasspointRecordService {
    @Autowired
    private AlsPasspointRecordDao dao;

    @Override
    public int insert(AlsPasspointRecord alsPasspointRecord) {
        return dao.insert(alsPasspointRecord);
    }

    @Override
    public int update(AlsPasspointRecord alsPasspointRecord) {
        return dao.insert(alsPasspointRecord);
    }
}
